
/**
 * AppleIIGo
 * Internal ACIA class
 * (C) 2008 by Marc S. Ressl (mressl@umich.edu)
 * Released under the GPL
 */

#ifndef INTERNALACIA_H
#define INTERNALACIA_H

#include "SlotDevice.h"

class InternalACIA : public SlotDevice {
public:
	InternalACIA(class Motherboard * motherboard, char * slotDeviceName);
	
	void onResetAsserted(bool isRestart);
	
	void writeIo(UINT16 address, UINT8 value);
	UINT8 readIo(UINT16 address);
	
private:
	UINT8 dataRegister;
	UINT8 statusRegister;
	UINT8 commandRegister;
	UINT8 controlRegister;
};

#endif
